package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 书籍列表对象 sys_novel_book
 * 
 * @author ZouYangMing
 * @date 2022-11-08
 */
public class SysNovelBook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long classifyId;

    /** 分类名称 */
    private String classifyName;

    /** 作者ID */
    @Excel(name = "作者ID")
    private Long authorId;

    /** 作者艺名 */
    private String authorName;

    /** 是否推荐 */
    @Excel(name = "是否推荐")
    private String bookIsRecommend;

    /** 书名 */
    @Excel(name = "书名")
    private String bookName;

    /** 书籍封面 */
    @Excel(name = "书籍封面")
    private String bookImage;

    /** 书籍字数 */
    @Excel(name = "书籍字数")
    private Long bookFontNumber;

    /** 更新说明 */
    @Excel(name = "更新说明")
    private String bookUpdateText;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date bookStartTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date bookUpdateTime;

    /** 完结时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完结时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date bookEndTime;

    /** 书籍评分 */
    @Excel(name = "书籍评分")
    private BigDecimal bookScore;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long bookBrowseNumber;

    /** 收藏数量 */
    @Excel(name = "收藏数量")
    private Long bookCollectionNumber;

    /** 点赞数量 */
    @Excel(name = "点赞数量")
    private Long bookLikeNumber;

    /** 是否付费 */
    @Excel(name = "是否付费")
    private String bookIsPay;

    /** 付费金额 */
    @Excel(name = "付费金额")
    private BigDecimal bookPayMoney;

    /** 付费数量 */
    @Excel(name = "付费数量")
    private Long bookPayNumber;

    /** 书籍状态 */
    @Excel(name = "书籍状态")
    private String bookStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassifyId(Long classifyId) 
    {
        this.classifyId = classifyId;
    }

    public Long getClassifyId() 
    {
        return classifyId;
    }
    public void setAuthorId(Long authorId) 
    {
        this.authorId = authorId;
    }

    public Long getAuthorId() 
    {
        return authorId;
    }
    public void setBookIsRecommend(String bookIsRecommend) 
    {
        this.bookIsRecommend = bookIsRecommend;
    }

    public String getBookIsRecommend() 
    {
        return bookIsRecommend;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookImage(String bookImage) 
    {
        this.bookImage = bookImage;
    }

    public String getBookImage() 
    {
        return bookImage;
    }
    public void setBookFontNumber(Long bookFontNumber) 
    {
        this.bookFontNumber = bookFontNumber;
    }

    public Long getBookFontNumber() 
    {
        return bookFontNumber;
    }
    public void setBookUpdateText(String bookUpdateText) 
    {
        this.bookUpdateText = bookUpdateText;
    }

    public String getBookUpdateText() 
    {
        return bookUpdateText;
    }
    public void setBookStartTime(Date bookStartTime) 
    {
        this.bookStartTime = bookStartTime;
    }

    public Date getBookStartTime() 
    {
        return bookStartTime;
    }
    public void setBookUpdateTime(Date bookUpdateTime) 
    {
        this.bookUpdateTime = bookUpdateTime;
    }

    public Date getBookUpdateTime() 
    {
        return bookUpdateTime;
    }
    public void setBookEndTime(Date bookEndTime) 
    {
        this.bookEndTime = bookEndTime;
    }

    public Date getBookEndTime() 
    {
        return bookEndTime;
    }
    public void setBookScore(BigDecimal bookScore) 
    {
        this.bookScore = bookScore;
    }

    public BigDecimal getBookScore() 
    {
        return bookScore;
    }
    public void setBookBrowseNumber(Long bookBrowseNumber) 
    {
        this.bookBrowseNumber = bookBrowseNumber;
    }

    public Long getBookBrowseNumber() 
    {
        return bookBrowseNumber;
    }
    public void setBookCollectionNumber(Long bookCollectionNumber) 
    {
        this.bookCollectionNumber = bookCollectionNumber;
    }

    public Long getBookCollectionNumber() 
    {
        return bookCollectionNumber;
    }
    public void setBookLikeNumber(Long bookLikeNumber) 
    {
        this.bookLikeNumber = bookLikeNumber;
    }

    public Long getBookLikeNumber() 
    {
        return bookLikeNumber;
    }
    public void setBookIsPay(String bookIsPay) 
    {
        this.bookIsPay = bookIsPay;
    }

    public String getBookIsPay() 
    {
        return bookIsPay;
    }
    public void setBookPayMoney(BigDecimal bookPayMoney) 
    {
        this.bookPayMoney = bookPayMoney;
    }

    public BigDecimal getBookPayMoney() 
    {
        return bookPayMoney;
    }
    public void setBookPayNumber(Long bookPayNumber) 
    {
        this.bookPayNumber = bookPayNumber;
    }

    public Long getBookPayNumber() 
    {
        return bookPayNumber;
    }
    public void setBookStatus(String bookStatus) 
    {
        this.bookStatus = bookStatus;
    }

    public String getBookStatus() 
    {
        return bookStatus;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classifyId", getClassifyId())
            .append("authorId", getAuthorId())
            .append("bookIsRecommend", getBookIsRecommend())
            .append("bookName", getBookName())
            .append("bookImage", getBookImage())
            .append("bookFontNumber", getBookFontNumber())
            .append("bookUpdateText", getBookUpdateText())
            .append("bookStartTime", getBookStartTime())
            .append("bookUpdateTime", getBookUpdateTime())
            .append("bookEndTime", getBookEndTime())
            .append("bookScore", getBookScore())
            .append("bookBrowseNumber", getBookBrowseNumber())
            .append("bookCollectionNumber", getBookCollectionNumber())
            .append("bookLikeNumber", getBookLikeNumber())
            .append("bookIsPay", getBookIsPay())
            .append("bookPayMoney", getBookPayMoney())
            .append("bookPayNumber", getBookPayNumber())
            .append("bookStatus", getBookStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("classifyName", getClassifyName())
            .append("authorName", getAuthorName())
            .toString();
    }
}
